package org.henau.EmergencyHandlerChain;

// 3. 默认处理器
public class DefaultHandler extends EmergencyHandler {
    @Override
    public void handleEvent(EmergencyEvent event) {
        System.out.println("[默认处理] 发送警报代码: " + event.getCode());
    }

    @Override
    protected boolean canHandle(EmergencyEvent event) {
        return false;
    }

    @Override
    protected void processEvent(EmergencyEvent event) {

    }
}